package com.chendx.api.wemedia;

import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.wemeida.pojos.WmUser;

/**
 * Created by chendx on 2022/3/1.
 */
public interface WmUserControllerApi {
    /**
     * 保存自媒体用户
     * @param wmUser
     * @return
     */
    public ResponseResult save(WmUser wmUser);

    /**
     * 按照名称查询用户
     * @param name
     * @return
     */
    public WmUser findByName(String name);

    /**
     * 根据id查询自媒体用户
     * @param id
     * @return
     */
    public WmUser findWmUserById(Long id);
}
